<?php
namespace BP\En;
class EntityMyPKMyFile extends EntityMyPK {
	public function getPK () 
	{
		return "MyPK";
	}
	public function getMyFilePath () 
	{
		return $this->GetValStringByKey("MyFilePath");
	}
	public function setMyFilePath ($value) // [String value]
	{
		$this->SetValByKey("MyFilePath", $value);
	}
	public function getMyFileExt () 
	{
		return $this->GetValStringByKey("MyFileExt");
	}
	public function setMyFileExt ($value) // [String value]
	{
		$this->SetValByKey("MyFileExt", $value->replace(".", ""));
	}
	public function getMyFileName () 
	{
		return $this->GetValStringByKey("MyFileName");
	}
	public function setMyFileName ($value) // [String value]
	{
		$this->SetValByKey("MyFileName", $value);
	}
	public function getMyFileSize () 
	{
		return $this->GetValInt64ByKey("MyFileSize");
	}
	public function setMyFileSize ($value) // [long value]
	{
		$this->SetValByKey("MyFileSize", $value);
	}
	public function getMyFileH () 
	{
		return $this->GetValIntByKey("MyFileH");
	}
	public function setMyFileH ($value) // [int value]
	{
		$this->SetValByKey("MyFileH", $value);
	}
	public function getMyFileW () 
	{
		return $this->GetValIntByKey("MyFileW");
	}
	public function setMyFileW ($value) // [int value]
	{
		$this->SetValByKey("MyFileW", $value);
	}
	public function getIsImg () 
	{
		return $DataType->IsImgExt($this->getMyFileExt());
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($_MyPK) // [String _MyPK]
	{
		$me = new self();
		$me->setMyPK($_MyPK);
		$me->Retrieve();
		return $me;
	}
}
?>
